//
//  YMPhotoChooseManager.h
//  SmartCar
//
//  Created by y s on 2022/12/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YMPhotoChooseManager : NSObject

@property (nonatomic, copy) void(^uploadSucessBlock)(NSString *url);

@property (nonatomic, copy) void(^uploadErrorBlock)(NSString *message);

/** 选择图片/视频 */
- (void)choosePhotoAction:(NSString *)title
                 canVideo:(BOOL)canVideo
                       vc:(UIViewController *)vc;

/** 选择视频 */
- (void)chooseVideoAction:(NSString *)title
                       vc:(UIViewController *)vc;



@end

NS_ASSUME_NONNULL_END
